package cyy.example.com.facotry.constants;

/**
 * Created by chenyiyao on 2017/11/6.
 */

public interface Constants {

    String CURRENT_CITY = "CURRENT_CITY";
    String SUCCEED = "Succeed";
    String FAILURE = "Failure";
    String IMAGE_FILE_NAME = "avatarImage.jpg";// 头像文件名称
    String DEFAULT_CITY = "深圳市";// 头像文件名称
    String ADD_FILE = "ADD_FILE";
    int TASK_LIST_PAGE_DATA_SIZE = 15;
    long LOCATION_UP_DEFUAL_DURING_TIME = 1000 * 3;//默认的刷新位置时间，30秒更新一次位置

    String DEFUALT_SORT_TYPE = "0";

    //定位广播
    String LOCATION_RECEIVEER_ACTION = "location_in_background";

    //默认定位的位置坐标
    double latitude = 23.640153;
    double longitude = 114.665571;

    //---地图marker类型
    String MARKER_TYPE_PEOPLE = "MARKER_TYPE_PEOPLE";
    String MARKER_TYPE_TASK = "MARKER_TYPE_TASK";  //任务
    String MARKER_TYPE_FIRM = "MARKER_TYPE_FIRM";//公司
    String MARKER_TYPE_NO_INFO = "MARKER_TYPE_NO_INFO";//没有类型
    String MARKER_TYPE_WARN_OVER_FIRM = "MARKER_TYPE_WARN_OVER_FIRM";//预警超标
    String MARKER_TYPE_WARN_FACILITY_FIRM = "MARKER_TYPE_WARN_FACILITY_FIRM";//预警设备异常
    //---地图marker类型

    //----文件类型
    //  {"xlsx", "xls", "doc", "dOcX", "ppt", ".pptx", "pdf"})
    String EXTENSION_XLSX = "xlsx";
    String EXTENSION_XLS = "xls";
    String EXTENSION_DOC = "doc";
    String EXTENSION_DOCX = "docx";
    String EXTENSION_PPT = "ppt";
    String EXTENSION_PPTX = "pptx";
    String EXTENSION_PDF = "pdf";
    String EXTENSION_JPG = "jpg";
    //-----------
    //----文件上传类型
    String up_load_type_photo = "0";
    String up_load_type_douc = "1";
    String up_load_type_vide = "2";


    //时间格式
    String REAL_DATA_TIME_FORMAT_TYPE = "yyyyMMddHHmmss";//实时数据
    String TimeYMDHFormat = "yyyy-MM-dd HH时";
    String TimeYMDFormat = "yyyy-MM-dd";
    String TimeYMFormat = "yyyy-MM";

    String HEAD_ITEM = "HEAD_ITEM";
    String NORMAL_ITEM = "NORMAL_ITEM";

    //派发权限 Distributing 权限
    String HAVE_TASK_DISPATCH_PERMI = "1";
    String NO_TASK_DISPATCH_PERMI = "0";

    //-----------筛选菜单类型
    String TYPE_AREA = "TYPE_AREA";
    String TYPE_IDUSTRY = "TYPE_IDUSTRY"; //行业类型
    String TYPE_NATURE = "TYPE_NATURE";//监管性质
    String TYPE_SUPERVISE = "TYPE_SUPERVISE";
    String TYPE_LEVEL = "TYPE_LEVEL"; //监管等级
    String TYPE_SMART_SORT = "TYPE_SMART_SORT";//违法记录
    String TYPE_DEPARTMENT_TYPE = "TYPE_DEPARTMENT_TYPE";//用户类型
    String TYPE_USER_ROLE = "User_Role";//角色类型
    String TYPE_SQUADRON = "TYPE_SQUADRON";//光明中队类型
    String PUBLISH_FILE_TYPE = "PUBLISH_FILE_TYPE";//发布文件类型
    String Type_Smart = "Type_Smart";
    //-----------end----------
    int UPLOAD_FILE_MAX_COUNT = 10;

    //文件选择的类型----
    int file_iage = 100;
    int file_docu = 101;
    int file_vedio = 102;
    long head_max_size = 1024 * 500;//上传头像最大的范围

    //请求任务列表的类型
    //任务状态（0待接收/1执行中/2待审核/3被驳回/4已结案/5未通过/6任务失败）
    String TASK_UNACCEPT_TYPE = "0"; //未接受
    String TASK_ACTION_TYPE = "1";  //执行中
    String TASK_FINISH_TYPE = "2";
    String TASK_CHECK_NOT_PASS = "5";
    String TASK_CHECK_PASS = "4";
    String TASK_CHECK_OVERDUE = "6";
    String TASK_TASK_REJECT = "-100";//任务驳回
    String TASK_ALL_TYPE = "-1";

    //地图默认最小的缩放等级
    int MAP_MIN_ZOOM_LEVEL = 8;
    int MAP_MAX_ZOOM_LEVEL = 18;
    //默认显示的缩放级别
    int MAP_DEFAULT_ZOOM_LEVEL = 13;

    //列表表格类型  异常
    int DES_TYPE = 0; //一级表头描述信息
    int HEAD_TYPE = 1;//头
    int NORMAL_TYPE = 2;//普通信息
    int REAL_TABLE_CHAR_TYPE = 3;//图实时数据
    int FACILITY_TYPE = 4;//设备类型
    int OVER_DATA_TYPE = 5;//超标数据

    //个人信息修改类型
    int EDIT_NAME = 0;
    int EDIT_Phone = 1;
    int EDIT_Email = 2;

    //文件类型
    int type_photo = 100;
    int type_douc = 101;
    int type_video = 102;
    int type_report = 103;


    //通过审核用户类型
    String FORMAL_USER_TYPE = "1";
    //未通过审核的用户
    String INFOMARL_USER_YPE = "0";

    int TYPE_WARM_OVER = 10001;
    int TYPE_WARM_DEVICE = 10002;

}
